<!--
 * @Description: h渲染子组件
 * @Author: Zhanghan
 * @Date: 2024-11-19 11:18:29
 * @LastEditTime: 2024-11-19 11:18:32
 * @LastEditors: Zhanghan
-->
<template>
    <div>子组件内容：{{ text ?? "-" }}</div>
  </template>
  <script setup lang="ts">
  const props = defineProps<{ text: string }>();
  </script>
  